﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DHQGHN.DAL.Models.Admin
{
    public class UserInGroupModel
    {
        public int UserInGroupId { get; set; }
        public int UserId { get; set; }
        public int GroupId { get; set; }
        public int IsActive { get; set; }
       
        public string Username { get; set; }
        public string Fullname { get; set; }
        public string Groupname { get; set; }
        public string Email { get; set; }
        public int RecordCount { get; set; }
        public string UserCode { get; set; }
        public int DonViId { get; set; }
        public const string FIELD_RECORD_COUNT = "RecordCount";
        //các tham số truyền vào database
        #region Field list in database 
        public const string FIELD_USER_IN_GROUP_ID = "UserInGroupId";
        public const string FIELD_USER_ID = "UserId";
        public const string FIELD_GROUP_ID = "GroupId";
        public const string FIELD_ISACTIVE = "IsActive";
        public const string FIELD_EMAIL = "Email";
        public const string FIELD_USER_NAME = "UserName";
        public const string FIELD_FULL_NAME = "FullName";
        public const string FIELD_GROUP_NAME = "GroupName";
        public const string FIELD_USER_CODE = "UserCode";
        public const string FIELD_GROUP_CODE = "GroupCode";
        public const string FIELD_GROUP_OLD_CODE = "GroupCodeOld";
        public const string FIELD_DON_VI_ID = "DonViId";
        #endregion
    }
}
